package com.hliushi.birdge.example01;

/**
 * 黑色画笔
 *
 * @author: hliushi
 * @date: 2023/2/13 17:50
 **/
public class BlackPen extends Pen {

    public BlackPen(Ruler ruler) {
        super(ruler);
    }

    @Override
    public void draw() {
        System.out.print("黑");
        super.ruler.regularize();
    }
}
